package com.medical.medical.service;

import com.medical.medical.entity.Department;

import java.util.List;

/**
         * @authorDesc 对酒当歌，人生几何！
         * @author WangLuDong
         * @date 2022-09-14 09:16:09
         * @version 1.0.0
         * @description 接口描述 科室类接口
        */
public interface DepartmentService {


    /**
      *@author WangLuDong
      *@Description 方法描述 查询所有科室
      *@Date 2022-09-14 18:00:56
      *@Return {@link null}
      */
     List<Department> getDepartmentList();

      /**
       *@author WangLuDong
       *@Description 方法描述 通过科室名称查询科室
       *@Date 2022-09-16 09:08:51
        * @param kname
       *@Return {@link null}
       */
     Department getDepartmentIdByKname(String kname);

    /**
     * 加科室
     * @param department
     * @return
     */
    boolean addDepartment(Department department);

     /**
      *@author WangLuDong
      *@Description 方法描述 删除科室
      *@Date 2022-09-25 22:33:09
       * @param departmentId
      *@Return {@link null}
      */
    boolean deleteDepartment(int departmentId);

}
